TEMPLATE    =  lib
CONFIG     +=  dll 
CONFIG     +=  c++13
CONFIG     +=  console 
TARGET      =  Plugins
QT         +=  core widgets gui
DEFINES    +=  PLUGIN_API

unix:!mac{ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/\'" }

include(./Plugins.pri)
include(../global.pri)

win32{

    INCLUDEPATH    +=  ./   \
                       
    Release:CONFIG            +=  console
    Release:DESTDIR         = ../Output/Release/bin
    Release:MOC_DIR         = ../Output/Release/moc
    Release:RCC_DIR         = ../Output/Release/rcc
    Release:UI_DIR          = ./
    Release:OBJECTS_DIR     = ../Output/Release/objects
    Release:LIBS     += -L../Output/Release/bin \
		-lApplication\
		-lLogger\
		-lRibbonStyle \

    Debug:CONFIG            +=  console
    Debug:DESTDIR         = ../Output/Debug/bin
    Debug:MOC_DIR         = ../Output/Debug/moc
    Debug:RCC_DIR         = ../Output/Debug/rcc
    Debug:UI_DIR          = ./
    Debug:OBJECTS_DIR     = ../Output/Debug/objects
    Debug:LIBS     += -L../Output/Debug/bin \
		-lApplication\
		-lLogger\
		-lRibbonStyle \


    message("Extension project generated!")
}
